#ifndef CPYTHONCALLER_H
#define CPYTHONCALLER_H

#include <Python.h>
#include <QObject>
class CPythonCaller : public QObject
{
    Q_OBJECT
public:
    explicit CPythonCaller(QObject *parent = nullptr) : QObject(parent)
    {
        Py_Initialize();
        PyRun_SimpleString("from time import time,ctime\nprint(ctime(time()))\n");
        Py_Finalize();
    }

signals:

public slots:
};

#endif // CPYTHONCALLER_H
